In this page, we will see the target style being applied. The target selector is a pseudo class. A pseudo class is a fancy way of saying: the style that is applied to an element when it is in its special state. For example, the pseudo class hover gives the selceted element a different style (as specified by the coder) when it is being hovered.
Now, the target selector gives a special style to an element when it is in the following special state: it is the target of an anchor element that starts with #. So, in the anchor element you would by the id/class of the element but before doing so you would add a #. Then, you would style that id in css using the target selector.
avi
david
I am a paragraph with the id: avi
I am a paragraph with the id: david
hello